:host {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    user-select: none;
}

.formEditor {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.formEditor .mainContent {
    overflow: auto;
}

.formEditor .toolbar {
    font-size: 13px;
    background: #fff;
    display: flex;
    min-height: 40px;
    align-items: center;
}

.formEditor .toolbar .disable {
    color: #9ca5ad;
}

.formEditor .viewTypePanel {
    padding: 2px;
    background: #F0F3F9;
    border-radius: 5px;
    margin-right: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
    display: flex;
    margin-left: 17px;
    height: 28px;
    min-width: 145px;
    cursor: pointer;
    color: #8DA3CE;
    align-self: center;
}

.formEditor .viewTypePanel>div {
    background: #F4F5F9;
    display: flex;
    text-align: center;
    align-items: center;
    padding: 0 8px;
    border-radius: 4px;
}

.formEditor .viewTypePanel>div.active {
    color: #5B89FE;
    background: #fff;
    box-shadow: 0 0 4px 0 rgb(161 179 255 / 37%);
}

.formEditor .viewTypePanel>div>div {
    margin: 0 auto;
    display: flex;
}

.formEditor .viewTypePanel>div>div span {
    width: 18px;
    height: 15px;
    margin-right: 4px;
}

.formEditor .showTypePanel {
    padding: 0px 20px;
    height: 30px;
    align-self: center;
    font-size: 14px;
    color: #000;
    min-width: 210px;
    /* min-width: 150px; */
}

.formEditor .showTypePanel .showTypeItem {
    padding: 0 10px;
    cursor: pointer;
}

.formEditor .showTypePanel .showTypeItem>div {
    padding: 4px 4px 9px 4px;
}

.formEditor .showTypePanel .showTypeItem>div.active {
    border-bottom: 2px solid #2A87FF;
    color: #5B89FE;
}

.formEditor>>>.dropdown-menu.show {
    z-index: 1000;
}